{{ define "main" }}
<div class="archive animated fadeInDown">
  <ul class="list-with-title">
    {{ range .Data.Pages.GroupByDate "2006" }}
      <div class="listing-title">{{ .Key }}</div>
      {{ range .Pages.GroupByDate "1月"}}
        <div class="listing-subTitle">{{ .Key }}</div>
        {{ range .Pages }}
          <ul class="listing">
            <div class="listing-item">
              <div class="listing-post">
                <div class="post-time">
                  <span class="date">{{.Date.Format "2006-01-02" }}</span>
                </div>
                <div class="post-name">
                  <a href="{{ .Permalink }}" title="{{ .Title }}">{{ .Title }}</a>
                </div>
              </div>
            </div>
          </ul>
        {{ end }}
      {{ end }}
    {{ end }}
  </ul>

</div>
{{ end }}